package com.example.week07.service;

import com.example.week07.dao.model.Order;

/**
 * @author 西柚
 */
public interface IOrderService {

    /**
     * 创建订单
     *
     * @param order
     */
    void createOrder(Order order);

    /**
     * 批量创建订单
     */
    void batchCreateOrder();

    /**
     * 订单详情
     *
     * @param orderCode
     * @return
     */
    Order getOrderDetails(Long orderCode);

}
